<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看订单</title>
</head>
<style>
.head{
	text-align: center;
	margin-top:20px;
	margin-bottom: 50px;
}
.content{
	margin: 0 auto;
	
}
.table{
text-align: center;
}
.table_center{
	display: inline-block;
}
#bookTable{
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-collapse:collapse;	
}
#bookTable th{
	width:130px;
	height:30px;
	border-left: 1px solid #000;
	border-top: 1px solid #000;
	
}
#bookTable td{
	border-left: 1px solid #000;
	border-top: 1px solid #000;
}
</style>
<%String path=request.getContextPath(); %>
<body>

<div class="head">
<span>订单页面</span>
<a href="index.jsp">返回</a>
</div>

<div class="content">
	<div class="table">
	<div class="table_center">
	<table id="bookTable" >
		<tr id="head">
	        <th>序号</th>
	        <th>订单号</th>
	        <th>时间</th>
	        <th>金额</th>
	    </tr>
	    <c:forEach var="c" items="${orders}" varStatus="status">
	    <tr>
	    <td>${status.count} </td>
	    <td>${c.order_num}</td>
	    <td>${c.date }</td>
	    <td>${c.money}</td>
		</tr>
		</c:forEach>
	</table>
	
	</div>
	</div>
	</div>
</body>
</html>